import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';

import { AuthStrategy } from '../auth.constant';

@Injectable()
export class LocalGuard extends AuthGuard(AuthStrategy.LOCAL) {
  canActivate() {
    console.log('LocalGuard');
    return true;
  }
}
